<?php

namespace app\controller\system;

use app\BaseController;
use app\model\StationPriceTask;
use think\response\Json;

class Price extends BaseController
{
    public function save(): Json
    {
        return $this->handle(function (){
            return $this->app->make(StationPriceTask::class)->saveData();
        });
    }

    public function lst()
    {
        return $this->handle(function (){
            return $this->app->make(StationPriceTask::class)->lst();
        });
    }
}
